﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="rank_list.aspx.cs" Inherits="He.Web.manage.member.rank_list" %>
<%@ Register Src="../_uc/head_list.ascx" TagPrefix="uc" TagName="head_list" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>会员等级</title>
<uc:head runat="server" ID="uchead" />
<uc:head_list runat="server" ID="uchead_list" />
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="add"><a href='rank_edit.aspx'>增加会员等级</a></span> <b>您当前的位置：首页 &gt; 互动模块 &gt; 会员等级</b> </div>
  <div class="spClear"> </div>
  <div class="content-tab-wrap">
    <div class="content-tab">
      <div class="content-tab-ul-wrap">
        <ul>
          <li><a href="list.aspx">会员列表</a></li>
          <li><a class="selected">会员等级</a></li>
        </ul>
      </div>
    </div>
  </div>
  <div class="content-body">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
      <asp:Repeater ID="rptList" runat="server">
        <HeaderTemplate>
          <tr>
            <th> 等级名称 </th>
            <th> 系统默认等级 </th>
            <th> 备注 </th>
            <th> 操作 </th>
          </tr>
        </HeaderTemplate>
        <ItemTemplate>
          <tr>
            <td><asp:HiddenField ID="HiddenId" runat="server" Value='<%#Eval("id") %>' />
              <%#Eval("title") %> </td>
            <td><img src="<%# Convert.ToInt32(Eval("is_sys")) == 1 ? "../images/correct.gif" : "../images/disable.gif"%>" /></td>
            <td><%#Eval("remark") %> </td>
            <td><span>
            <a href="rank_edit.aspx?id=<%#Eval("id") %>&action=<%=He.Web.UI.Enums.ActionEnum.Edit %>">编辑</a> |
              <asp:LinkButton ID="lbtnDel" runat="server" OnCommand="lbtnDel_Command" CommandArgument='<%#Eval("id") %>'
                                        OnClientClick="return confirm('确定要执行删除操作吗,删除后不可恢复？');">删除</asp:LinkButton>
              </span></td>
          </tr>
        </ItemTemplate>
      </asp:Repeater>
    </table>
  </div>
  <div class="spClear"> </div>
</form>
</body>
</html>
